#include "cmdui_dialog.h"
#include "CmdUi.h"
//#include "toponodelabel.h"
CmdUi_Dialog::CmdUi_Dialog(QWidget *parent, QProcess *proc): QDialog(parent)
{
    dialog = new Ui_CmdDialog();
    this->proc = proc;
    tparant = parent;
    dialog->setupUi(this);
}
CmdUi_Dialog::~CmdUi_Dialog()
{
    if (dialog != NULL)
    {
        delete dialog;
    }

}
void CmdUi_Dialog::closeEvent(QCloseEvent *)
{
    //TopoNodeLabel *pt = static_cast<TopoNodeLabel *>(tparant);
    //pt->stopProcess();
}
